package com.a9_lin.www.testormlite.bean;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * 设备的最新的gps地址
 * Created by macmini on 16/8/30.
 */
@DatabaseTable(tableName = "tb_gps")
public class Gps implements Serializable{

    private static final long serialVersionUID = 1L;

    @DatabaseField(generatedId = true)
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @DatabaseField
    private int GPSID;

    @DatabaseField
    private String IMEI;

    @DatabaseField
    private String DT;

    @DatabaseField
    private int LocType;

    @DatabaseField
    private double Lon;

    @DatabaseField
    private double Lat;

    @DatabaseField
    private int Electricity;

    @DatabaseField
    private String celltowers;

    @DatabaseField
    private int Mcc;

    @DatabaseField
    private int Mnc;

    @DatabaseField
    private int Lac;

    @DatabaseField
    private int Cellid;

    @DatabaseField
    private String Wifi;

    @DatabaseField
    private int mnctype;

    public void setGPSID(int GPSID){
        this.GPSID = GPSID;
    }
    public int getGPSID(){
        return this.GPSID;
    }
    public void setIMEI(String IMEI){
        this.IMEI = IMEI;
    }
    public String getIMEI(){
        return this.IMEI;
    }
    public void setDT(String DT){
        this.DT = DT;
    }
    public String getDT(){
        return this.DT;
    }
    public void setLocType(int LocType){
        this.LocType = LocType;
    }
    public int getLocType(){
        return this.LocType;
    }
    public void setLon(double Lon){
        this.Lon = Lon;
    }
    public double getLon(){
        return this.Lon;
    }
    public void setLat(double Lat){
        this.Lat = Lat;
    }
    public double getLat(){
        return this.Lat;
    }
    public void setElectricity(int Electricity){
        this.Electricity = Electricity;
    }
    public int getElectricity(){
        return this.Electricity;
    }
    public void setCelltowers(String celltowers){
        this.celltowers = celltowers;
    }
    public String getCelltowers(){
        return this.celltowers;
    }
    public void setMcc(int Mcc){
        this.Mcc = Mcc;
    }
    public int getMcc(){
        return this.Mcc;
    }
    public void setMnc(int Mnc){
        this.Mnc = Mnc;
    }
    public int getMnc(){
        return this.Mnc;
    }
    public void setLac(int Lac){
        this.Lac = Lac;
    }
    public int getLac(){
        return this.Lac;
    }
    public void setCellid(int Cellid){
        this.Cellid = Cellid;
    }
    public int getCellid(){
        return this.Cellid;
    }
    public void setWifi(String Wifi){
        this.Wifi = Wifi;
    }
    public String getWifi(){
        return this.Wifi;
    }
    public void setMnctype(int mnctype){
        this.mnctype = mnctype;
    }
    public int getMnctype(){
        return this.mnctype;
    }

    @Override
    public String toString() {
        return "Gps{" +
                "GPSID=" + GPSID +
                ", IMEI='" + IMEI + '\'' +
                ", DT='" + DT + '\'' +
                ", LocType=" + LocType +
                ", Lon=" + Lon +
                ", Lat=" + Lat +
                ", Electricity=" + Electricity +
                ", celltowers='" + celltowers + '\'' +
                ", Mcc=" + Mcc +
                ", Mnc=" + Mnc +
                ", Lac=" + Lac +
                ", Cellid=" + Cellid +
                ", Wifi='" + Wifi + '\'' +
                ", mnctype=" + mnctype +
                '}';
    }
}
